from django.db import models


class BaseModel(models.Model):
    date_created = models.DateTimeField('创建时间', auto_now_add=True)
    date_updated = models.DateTimeField('修改时间', auto_now=True)
    is_deleted = models.BooleanField('删除', default=False)

    class Meta:
        abstract = True